﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" default-lazy="true" assembly="Ghasam.Business" namespace="Ghasam.Business.Domain.Entity">
	<class name="EmployeeLeave" table="EmployeeLeave">
		<id name="Id" type="Int32" unsaved-value="0">
			<column name="ID" sql-type="int" not-null="true" unique="true" index="ID" />
			<generator class="native" />
		</id>
		<property name="LeaveWithoutPay" column="LeaveWithoutPay" type="Boolean" />
		<property name="FromDate" column="FromDate" type="DateTime" />
		<property name="ToDate" column="ToDate" type="DateTime" />
		<property name="Hours" column="Hours" type="Single"/>
		<many-to-one name="Employee" column="EmpId" class="Employee"/>
	</class>
</hibernate-mapping>